package com.xuecheng.api.learning.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author itcast
 */
@Data
@ApiModel(value="UserDTO", description="用户信息")
public class UserDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long userId;

    private String username;

    private String name;

    @ApiModelProperty(value = "头像")
    private String userpic;

    private String utype;

    private LocalDateTime birthday;

    private String sex;

    private String email;

    private String phone;

    private String qq;

    @ApiModelProperty(value = "用户状态")
    private Integer status;

    @ApiModelProperty(value = "个人简介")
    private String intro;

    @ApiModelProperty(value = "备注")
    private String remark;

    private LocalDateTime createDate;

    private LocalDateTime changeDate;

    @ApiModelProperty(value = "验证手机时的token")
    private String verifyToken;

    private Long accountId;


}
